<template>
	<view class="contact">
		<image class="img" src="http://www.itcast.cn/2018czydz/images/gywmban.jpg" mode="widthFix"></image>
		<view class="info">
			<view @click="phone">联系电话: 17854118501 (点击拨打)</view>
			<view>地址:法撒发撒旦法的撒法撒旦飞洒的</view>
		</view>
		<map class="map" :longitude="longitude" :latitude="latitude" :markers="markers"></map>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				longitude:117.074982,
				latitude:36.704788,
				markers:[
					{
						id:1,
						longitude:117.074982,
						latitude:36.704788,
						iconPath:'../../static/hmlogo.png',
						width:30,
						height:30
					}
				]
			}
		},
		methods: {
			phone(){
				uni.makePhoneCall({
					phoneNumber:"17854118501"
				})
			}
		}
	}
</script>

<style lang="scss">
.contact{
	.img{
		width:750rpx;
		height: 360rpx;
	}
	.info{
		font-size: 30rpx;
		padding: 10rpx 20rpx;
		line-height: 60rpx;
		border-bottom: 1px solid #eee;
	}
	.map{
		width: 750rpx;
		height: 750rpx;
	}
}
</style>
